package com.yangrd.airship.generator.page.impl.factory.clazz.annotation;

import com.yangrd.airship.generator.page.PageColumn;

import java.lang.annotation.*;

/**
 * @author yangrd
 * @date 2021/11/26
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface CGColumn {

    /**
     * 是否展示
     * @return
     */
     boolean show()default true;

    /**
     * 标题
     * @return
     */
     String title()default "";

    /**
     * 抓取策略
     * @return
     */
     PageColumn.FetchType fetchType() default PageColumn.FetchType.SELF;
}
